package com.gec.wiki.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.wiki.pojo.Ebook;
import com.gec.wiki.pojo.req.EbookQueryReq;
import com.gec.wiki.pojo.resp.EbookQueryResp;
import com.gec.wiki.pojo.resp.PageResp;
import org.springframework.web.multipart.MultipartFile;

public interface EbookService extends IService<Ebook> {

    PageResp<EbookQueryResp> getEbookListByPage(EbookQueryReq req);

    String uploadImage(MultipartFile file, String folder);
}
